LEGION Simulator Help

Maps Track Events

You can set up events to save images of Maps (and also to clear Maps) at specified points along the Timeline. For a Map to be saved it must be currently available and active in the Object Directory.

Adding a Save Map Event

This procedure enables you to save all or selected active LEGION Maps at a specified time in the simulation.

To add a Save Map event:

  1. Right-click on the relevant Maps track at the point at which you want the event to start and select Add a Save Map event.
    • The ‘Save Map’ dialog is displayed.
  2. If required, enter a name in the Event name box.
  3. To run this event when you next record using the Timeline, leave the Enable this event box checked (if you don’t want to run this event in the next recording session, uncheck the box).
  4. Select one of the following option buttons: Save selected Maps or Save all active Maps (if you choose the latter, proceed to step 7).
  5. If you chose Save selected Maps, click the Select Maps button.
  6. In the 'Select Objects' dialog, select the Maps you would like to save using the selection buttons >, >>, <, << and click OK.
  7. From the Use Camera drop-down list, select the Camera from whose perspective you wish to save your Map or Maps (see "Creating a Camera" in Screen Camera Track Events).
  8. From the Image dimensions drop-down list, select one of the three options:
    • Fit A4 sheet
    • Fit PowerPoint slide
    • User-defined – if you select this, enter Width and Height values (in pixels). The default dimensions for this option are 1024 x 480 pixels. We recommend you keep these, but you can enter different values.
  9. Select one of the three Image Format options:
    • JPEG
    • Bitmap
    • PNG
  10. If you want to change the default Layout of the saved Map image, click the Layout button and make any changes to the Layout. See "Designing the Layout for Map Events" below.
  11. In the panel labelled Reuse these Map selection, Camera, Image dimensions, File format and/or Layout options in other Save Map events, select either:
    • Apply to all Maps – THIS track
    • Apply to all Maps – ALL tracks
      Note: Making a selection here means you can apply these Save Map instructions to either all Maps on this track alone, or all Maps on all tracks on the active Timeline.
    • A selection dialog appears:
    • Click on the items to reuse; hold <CTRL> while clicking to select multiple items.
    • Click the OK button. Settings of the selected items are applied to all Record .AVI tracks in the active Timeline. Selections are remembered and items are automatically selected again the next time this dialog appears.
  12. Click OK to save the event.
    • If the event overlaps other events, an error message is displayed. See Overlapping Events.

Changing the start and end times of a Save Map event

Follow the procedure described in Changing the start and end times of a Changing the start and end times of a Record .RES event.

Adding a Clear Map Event

This event will clear (reset) a generated Map at a specified point within the simulation. This is useful when you want to isolate Maps for peak periods within a simulation or, for instance, if you want to clear accumulated data between the arrival of trains.

To add a Clear Map event:

  1. Right-click on the relevant Maps track at the point at which you want the event to start and select Add a Clear Map event.
    • The ‘Clear Maps’ dialog is displayed.
  2. If required, enter a name in the Event name box.
  3. To run this event when you next play back the simulation, leave the Enable this event box checked (if you don’t want to run this event in the next session, uncheck the box).
  4. To clear specific Maps, select Clear selected Maps, click the Select Maps… button, then select the Map(s) you wish to clear.
    • Clear all active Maps – this will clear all active Maps.
  5. Click OK to save the event.
  6. If the event overlaps other events, an error message is displayed. See Overlapping Events.

Designing the Layout for Map Events

The Layout Designer enables you to add and arrange visual elements to your saved Map images. When you are working with only one Map, the saved results will match your designed Layout. When you are saving more than one Map, the Layout here works more as a general template and your saved results should always be checked before including in a report.

To design the Layout for Map Events:

  1. From the 'Save Map' dialog, click the Layout button.
    • The 'Layout Designer' dialog is displayed.
  2. To add any of the customisable items in the ‘Video components’ toolbar, click and hold the relevant icon and drag into the Layout Designer. Position and resize the items according to preference.
  3. To change the properties of a label, clock, logo or legend, click on the item to select it and change the properties in the left-hand panel of the dialog box. Change properties in the ‘Value’ column by entering text directly, browsing for files or selecting values from drop-down lists.
    • – Label: Insert text Label into the Layout.
      • change font; text colour; contour line values; background colours.
    • – Clock: Add a simulation clock display to the Layout.
      • change time format; font; text colour; contour line values; background colours.
    • – Logo: Browse to select an alternative logo image.
      • change logo colour, contour line values, background colour; transparency.
    • – Legend: Adds a legend for the Map being recorded by this event.
      • Legend – depending on which maps were selected for this event, and how many legends they have, you can choose 'All' or specific legends from this drop-down list.
      • Title – enter a 'Title'; choose 'Text Colour' and 'Font'
      • Units – enter 'Units'; choose 'Text Colour' and 'Font'
      • Labels – choose 'Text Colour' and 'Font'
      • Contour – select 'yes' or 'no' to show or hide contour lines; choose 'Contour Line Colour'
      • Background – choose a 'Background' colour and add a value for 'Background transparency' (0 is opaque)
    • – Graph: Select a graph from the drop-down list labelled 'Value' in the 'Graph name' row.
  4. To change the background colour of the workspace, select a colour from the drop-down palette labelled Background Colour.
  5. You can also align the various components in relation to each other; see Aligning AVI Components for details.
    • – Align left: Select at least two items and click to align their left sides.
    • – Align right: Select at least two items and click to align their right sides.
    • – Align top: Select at least two items and click to align their top sides.
    • – Align bottom: Select at least two items and click to align their bottom sides.
    • – Equal widths: Select at least two items and click to make them the same width.
    • – Equal heights: Select at least two items and click to make them the same height.
    • – Centre: horizontally
      • Select one or more items and click to centre them horizontally (vertical positions will be unchanged).
  6. If you want to delete a removable item, click it to select it and press Delete.
  7. Click OK to save your Layout settings.